<?php
namespace backend\widgets\switch;

use yii\base\Widget;
use yii\helpers\Html;

class SwitchWidget extends Widget
{
    public $message = '';
	
	public $options;
	
	
	
	public $viewFile = '@backend/widgets/views/_form';

    public function init()
    {
        parent::init();
        if ($this->message === null) {
            $this->message = 'Hello World';
        }
    }

    public function run()
    {
		
        echo $this->view->renderFile($this->viewFile, $this->options);
    }
}